package com.freewater.cargotracker.domain.model.cargo;

import com.freewater.cargotracker.domain.common.Value;

import java.util.HashSet;
import java.util.Set;

public class EnterpriseSegment implements Value {
    private final Set<String> categoryNames;

    public EnterpriseSegment(Set<String> categoryNames) {
        this.categoryNames = categoryNames == null ? new HashSet<>() : categoryNames;
    }

    public Set<String> getCategoryNames() {
        return categoryNames;
    }
}
